package com.qianli.cashmama.trade.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Author: Karl
 * Date: 2020/11/1 10:42 上午
 */
public class TBillDeductFixEntity {

    private String tradeNo;
    private String billNo;
    private Date repaymentDate;
    private Date payOffDate;
    /**
     * bill表目前记录的还款总额(包括抵扣金额)
     */
    private BigDecimal paidCapital;
    /**
     * bill表目前记录的抵扣金额
     */
    private BigDecimal discountCapital;
    /**
     * 结清时理论总应还
     */
    private BigDecimal theoreticalTotalAmount;
    /**
     * 基于detail表累计真实还款金额(不含抵扣)
     */
    private BigDecimal sumPaidCapital;
    /**
     * 基于detail表累计抵扣金额
     */
    private BigDecimal sumDiscountCapital;

    public String getTradeNo() {
        return tradeNo;
    }

    public TBillDeductFixEntity setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public String getBillNo() {
        return billNo;
    }

    public TBillDeductFixEntity setBillNo(String billNo) {
        this.billNo = billNo;
        return this;
    }

    public Date getRepaymentDate() {
        return repaymentDate;
    }

    public TBillDeductFixEntity setRepaymentDate(Date repaymentDate) {
        this.repaymentDate = repaymentDate;
        return this;
    }

    public Date getPayOffDate() {
        return payOffDate;
    }

    public TBillDeductFixEntity setPayOffDate(Date payOffDate) {
        this.payOffDate = payOffDate;
        return this;
    }

    public BigDecimal getPaidCapital() {
        return paidCapital;
    }

    public TBillDeductFixEntity setPaidCapital(BigDecimal paidCapital) {
        this.paidCapital = paidCapital;
        return this;
    }

    public BigDecimal getDiscountCapital() {
        return discountCapital;
    }

    public TBillDeductFixEntity setDiscountCapital(BigDecimal discountCapital) {
        this.discountCapital = discountCapital;
        return this;
    }

    public BigDecimal getTheoreticalTotalAmount() {
        return theoreticalTotalAmount;
    }

    public TBillDeductFixEntity setTheoreticalTotalAmount(BigDecimal theoreticalTotalAmount) {
        this.theoreticalTotalAmount = theoreticalTotalAmount;
        return this;
    }

    public BigDecimal getSumPaidCapital() {
        return sumPaidCapital;
    }

    public TBillDeductFixEntity setSumPaidCapital(BigDecimal sumPaidCapital) {
        this.sumPaidCapital = sumPaidCapital;
        return this;
    }

    public BigDecimal getSumDiscountCapital() {
        return sumDiscountCapital;
    }

    public TBillDeductFixEntity setSumDiscountCapital(BigDecimal sumDiscountCapital) {
        this.sumDiscountCapital = sumDiscountCapital;
        return this;
    }
}
